package com.gym.demo;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Properties;

public class PropertiesIo {
	public static void main(String[] args) throws IOException {
		Properties properties = new Properties();
		properties.load(new InputStreamReader(PropertiesIo.class.getResourceAsStream("text.properties"), "UTF-8"));
		String name = properties.getProperty("username");
		String password = properties.getProperty("password");
		InputStreamReader in = new InputStreamReader(System.in);
		BufferedReader bf = new BufferedReader(in);
		String name1 = bf.readLine();
	}
}
